GdkWindow: Fix debug function print_region
authorAlexander Larsson <alexl@redhat.com>
Wed, 15 May 2013 08:55:14 +0000 (10:55 +0200)
committerAlexander Larsson <alexl@redhat.com>
Wed, 15 May 2013 09:08:35 +0000 (11:08 +0200)
gdk/gdkwindow.c

index 2c9a2a1ee12aaba537385c45faaba7c85929f802..63128bd99831103f67d24db57e86688312a23bff 100644 (file)
@@ -230,6 +230,7 @@ print_region (cairo_region_t *region)
          g_string_append_printf (s, "extent: %dx%d @%d,%d, details: ", r.width, r.height, r.x, r.y);
          for (i = 0; i < num; i++)
            {
+              cairo_region_get_rectangle (region, i, &r);
              g_string_append_printf (s, "[%dx%d @%d,%d]", r.width, r.height, r.x, r.y);
              if (i != num -1)
                g_string_append (s, ", ");